﻿<Window x:Class="MDCAdminTool.Controls.Cache_Cluster.RenameWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Rename Cluster Name"
        Width="300"
        SizeToContent="Height">
    <Grid Margin="4" >
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="4" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        
        <TextBox x:Name="txtName"
                 Grid.Row="0"
                 Text="{Binding Path=ClusterName}" GotKeyboardFocus="TxtNameGotKeyboardFocus" GotMouseCapture="TxtNameGotMouseCapture"/>
        <Button Grid.Row="2" Content="OK" Click="ChangeName" Width="75" HorizontalAlignment="Right"/>
    </Grid>
</Window>
